﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Connect.aspx.cs" Inherits="Pages_Dashboard_Connect" %>
<%@ Register Src="~/Controls/Social/FbPageSelector.ascx" TagPrefix="uc" TagName="FbPageSelector" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">

    <script type="text/javascript">
        var MyArgs;
        function ChangeSnDisplay(snName, has) {
            var hasElements = $('#sec_' + snName + ' .has');
            if (has)
                hasElements.show();
            else hasElements.hide();
        }       
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h1>
        Connect the
        <asp:Literal runat="server" ID="ltrName"></asp:Literal>
        Account to social networks</h1>
    <div class="ConnectSocialNetworks">
        <div class="section" id="sec_graph">
            <asp:Image ImageUrl="/Images/Gui/Icons/Check.png" runat="server" ID="imgFb" CssClass="hasIcon" />
            <asp:Button runat="server" ID="lbtnFacebook" CssClass="ConnectIcon Icon FacebookIconBig"
                BorderWidth="0"></asp:Button>
            <asp:LinkButton runat="server" ID="lbtnRemoveFb" OnCommand="lbtnRemove_Command" CommandArgument="fb"
                CssClass="has">Remove</asp:LinkButton>
        </div>
        <div class="section" id="sec_twitter">
            <asp:Image ImageUrl="/Images/Gui/Icons/Check.png" runat="server" ID="imgTw" CssClass="hasIcon" />
            <asp:Button runat="server" ID="lbtnTwitter" CssClass="ConnectIcon Icon TwitterIconBig"
                BorderWidth="0"></asp:Button>
            <asp:LinkButton ID="lbtnRemoveTw" runat="server" OnCommand="lbtnRemove_Command" CommandArgument="tw"
                CssClass="has">Remove</asp:LinkButton>
        </div>
        <div class="section" id="sec_youtube">
            <asp:Image ImageUrl="/Images/Gui/Icons/Check.png" runat="server" ID="imgYt" CssClass="hasIcon" />
            <asp:Button runat="server" ID="lbtnYt" CssClass="ConnectIcon Icon YTIconBig" BorderWidth="0">
            </asp:Button>
            <asp:LinkButton ID="lbtnRemoveYt" runat="server" OnCommand="lbtnRemove_Command" CommandArgument="yt"
                CssClass="has">Remove</asp:LinkButton>
        </div>
       <%-- <div class="section" id="sec_wordpress">
            <asp:Image ImageUrl="/Images/Gui/Icons/Check.png" runat="server" ID="ImgWp" CssClass="hasIcon" />
            <asp:Button runat="server" ID="lbtnWp" CssClass="ConnectIcon Icon WPIconBig" BorderWidth="0">
            </asp:Button>
            <asp:LinkButton ID="lbtnRemoveWp" runat="server" OnCommand="lbtnRemove_Command" CommandArgument="wp"
                CssClass="has">Remove</asp:LinkButton>
            <asp:Button runat="server" ID="lbtnWpArgumentsSubmit" OnClick="lbtnWpArgumentsSubmit_Click" style="display:none" />
            <asp:HiddenField ID="hfWpBlogUrl" runat="server" Value="" />
            <asp:HiddenField ID="hfWpPassword" runat="server" Value="" />
            <asp:HiddenField ID="hfWpUserName" runat="server" Value="" />
        </div>--%>
    </div>
    <div style="clear: both">
    </div>
    <br />
	<uc:FbPageSelector runat="server" ID="pageSelector" />
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="LeftMainColContent">
    <div class="SubMenu">
        <ul>
            <li>
                <asp:HyperLink runat="server" ID="hlAccount" onclick="$('.Selected').removeClass('Selected');$(this).addClass('Selected');"
                    CssClass="SubMenuLink Selected"><span class="Icon"></span><span>Back</span>
                </asp:HyperLink></li>
        </ul>
    </div>
</asp:Content>